home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / PCTAGS15.ARJ / MAKEFILE < prev    next >
Text File  |  1991-10-05  |  2KB  |  79 lines

  1. #
  2. #
  3. # Makefile for tags.exe
  4. #
  5. # Created 03-28-91 JBK
  6. # Last Modified 10-05-91 JBK
  7. #
  8.  
  9. #
  10. # The tags executable purposely does not link with the wild card expansion
  11. # startup code included in MSC.  If you try to use this for tags then the
  12. # sh style wild card expansions built into the executable will not function
  13. # quite as expected.  The sort executable, however, does want setargv.obj
  14. # to be linked in
  15. #
  16. SETARGV = c:\language\c600\lib\setargv.obj
  17.  
  18. #
  19. # This is flags for optimized versions
  20. FLAGS = /AL /G2 /Ocegilptz /Gs
  21. LFLAGS = /E /F /PACKC /NOI /ST:0x8000
  22.  
  23.  
  24. #
  25. # This is FLAGS for debugging versions
  26. #FLAGS = /AL /Od /Zi /qc
  27. #LFLAGS = /CO /M /NOI /ST:0x8000
  28.  
  29.  
  30. #
  31. #  MSC CC
  32.  
  33. CC = cl $(FLAGS)
  34. LINK = link $(LFLAGS)
  35.  
  36.  
  37. SORT_DEFINES = -DSORT_MODULE -DSTDC_HEADERS -DUSG -D__STDC__
  38.  
  39. OBJS = arglist.obj asmtag.obj ctag.obj filmatch.obj flags.obj log.obj \
  40.        shell.obj sortmod.obj tagio.obj validcrc.obj wildfile.obj
  41.  
  42. .c.obj:
  43.     $(CC) /W4 -c $<
  44.  
  45. all: tags.exe sort.exe
  46.  
  47. tags.exe: $(OBJS)
  48.     $(LINK) $**, $@;
  49.     CRCSET $@
  50.  
  51. sort.exe: sort.c sort.h std.h
  52.     $(CC) /W2 -F 8000 sort.c $(SETARGV) /link /NOE
  53.  
  54. shell.obj: flags.h log.h sort.h wildfile.h viruscrc.h \
  55.            tagio.h ctag.h asmtag.h arglist.h flags.h
  56.  
  57. wildfile.obj: wildfile.h filmatch.h
  58.  
  59. filmatch.obj: filmatch.h
  60.  
  61. tagio.obj: arglist.h tagio.h log.h flags.h
  62.  
  63. log.obj: log.h
  64.  
  65. ctag.obj: ctag.h flags.h log.h tagio.h
  66.  
  67. asmtag.obj: asmtag.h flags.h tagio.h
  68.  
  69. sortmod.obj: sort.c sort.h std.h
  70.     $(CC) /W2 -c -Fosortmod.obj $(SORT_DEFINES) sort.c
  71.  
  72. arglist.obj: arglist.h log.h
  73.  
  74. flags.obj: flags.h log.h
  75.  
  76. validcrc.obj: viruscrc.h
  77.  
  78.  
  79.